﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using SOM.Model;
using System.Data.Objects.DataClasses;

namespace SOM.AbstractDAL
{
    public abstract class AbstractComentarioDAL
    {
        public abstract List<Comentario> ReturnAll();
        public abstract Comentario FindById(int idComentario);
        public abstract Comentario Load(int idComentario, SOMEntities contexto);
        public abstract List<Comentario> FindByReclamacao(Reclamacao reclamacao);
        public abstract void Insert(Comentario comentario);
        public abstract void Delete(Comentario comentario);
        public abstract void Delete(List<Comentario> comentarioList);
        public abstract void Delete(List<Comentario> comentariosList, SOMEntities contexto);
        public abstract void Delete(Comentario comentario, SOMEntities contexto);
        public abstract void SaveChanges();
    }
}
